using BlazorHybrid.Shared.Components;
using Microsoft.AspNetCore.Components.WebView.WindowsForms;

namespace BlazorHybrid.Win;

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        blazorWebView1.HostPage = "wwwroot\\index.html";
        blazorWebView1.Services = Startup.Services;
        blazorWebView1.RootComponents.Add<Routes>("#app");
    }
}
